3.3.47 \(\int \frac {c+d x}{(a+b x)^3 \log (e (\frac {a+b x}{c+d x})^n)} \, dx\) [247]

Optimal. Leaf size=75 \[ \frac {\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{2/n} (c+d x)^2 \text {Ei}\left (-\frac {2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{n}\right )}{(b c-a d) n (a+b x)^2} \]

[Out]

(e*((b*x+a)/(d*x+c))^n)^(2/n)*(d*x+c)^2*Ei(-2*ln(e*((b*x+a)/(d*x+c))^n)/n)/(-a*d+b*c)/n/(b*x+a)^2

________________________________________________________________________________________

Rubi [A]
time = 0.06, antiderivative size = 75, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 33, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {2561, 2347, 2209} \begin {gather*} \frac {(c+d x)^2 \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{2/n} \text {Ei}\left (-\frac {2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{n}\right )}{n (a+b x)^2 (b c-a d)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(c + d*x)/((a + b*x)^3*Log[e*((a + b*x)/(c + d*x))^n]),x]

[Out]

((e*((a + b*x)/(c + d*x))^n)^(2/n)*(c + d*x)^2*ExpIntegralEi[(-2*Log[e*((a + b*x)/(c + d*x))^n])/n])/((b*c - a
*d)*n*(a + b*x)^2)

Rule 2209

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[(F^(g*(e - c*(f/d)))/d)*ExpInteg
ralEi[f*g*(c + d*x)*(Log[F]/d)], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2347

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_)*((d_.)*(x_))^(m_.), x_Symbol] :> Dist[(d*x)^(m + 1)/(d*n*(c*x^n
)^((m + 1)/n)), Subst[Int[E^(((m + 1)/n)*x)*(a + b*x)^p, x], x, Log[c*x^n]], x] /; FreeQ[{a, b, c, d, m, n, p}
, x]

Rule 2561

Int[((A_.) + Log[(e_.)*(((a_.) + (b_.)*(x_))/((c_.) + (d_.)*(x_)))^(n_.)]*(B_.))^(p_.)*((f_.) + (g_.)*(x_))^(m
_.)*((h_.) + (i_.)*(x_))^(q_.), x_Symbol] :> Dist[(b*c - a*d)^(m + q + 1)*(g/b)^m*(i/d)^q, Subst[Int[x^m*((A +
 B*Log[e*x^n])^p/(b - d*x)^(m + q + 2)), x], x, (a + b*x)/(c + d*x)], x] /; FreeQ[{a, b, c, d, e, f, g, h, i,
A, B, n, p}, x] && NeQ[b*c - a*d, 0] && EqQ[b*f - a*g, 0] && EqQ[d*h - c*i, 0] && IntegersQ[m, q]

Rubi steps

\begin {align*} \int \frac {c+d x}{(a+b x)^3 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx &=\frac {\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{2/n} (c+d x)^2 \text {Ei}\left (-\frac {2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{n}\right )}{(b c-a d) n (a+b x)^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.01, size = 75, normalized size = 1.00 \begin {gather*} \frac {\left (e \left (\frac {a+b x}{c+d x}\right )^n\right )^{2/n} (c+d x)^2 \text {Ei}\left (-\frac {2 \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )}{n}\right )}{(b c-a d) n (a+b x)^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(c + d*x)/((a + b*x)^3*Log[e*((a + b*x)/(c + d*x))^n]),x]

[Out]

((e*((a + b*x)/(c + d*x))^n)^(2/n)*(c + d*x)^2*ExpIntegralEi[(-2*Log[e*((a + b*x)/(c + d*x))^n])/n])/((b*c - a
*d)*n*(a + b*x)^2)

________________________________________________________________________________________

Maple [F]
time = 0.12, size = 0, normalized size = 0.00 \[\int \frac {d x +c}{\left (b x +a \right )^{3} \ln \left (e \left (\frac {b x +a}{d x +c}\right )^{n}\right )}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x+c)/(b*x+a)^3/ln(e*((b*x+a)/(d*x+c))^n),x)

[Out]

int((d*x+c)/(b*x+a)^3/ln(e*((b*x+a)/(d*x+c))^n),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)/(b*x+a)^3/log(e*((b*x+a)/(d*x+c))^n),x, algorithm="maxima")

[Out]

integrate((d*x + c)/((b*x + a)^3*log(((b*x + a)/(d*x + c))^n*e)), x)

________________________________________________________________________________________

Fricas [A]
time = 0.40, size = 62, normalized size = 0.83 \begin {gather*} \frac {e^{\frac {2}{n}} \operatorname {log\_integral}\left (\frac {{\left (d^{2} x^{2} + 2 \, c d x + c^{2}\right )} e^{\left (-\frac {2}{n}\right )}}{b^{2} x^{2} + 2 \, a b x + a^{2}}\right )}{{\left (b c - a d\right )} n} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)/(b*x+a)^3/log(e*((b*x+a)/(d*x+c))^n),x, algorithm="fricas")

[Out]

e^(2/n)*log_integral((d^2*x^2 + 2*c*d*x + c^2)*e^(-2/n)/(b^2*x^2 + 2*a*b*x + a^2))/((b*c - a*d)*n)

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)/(b*x+a)**3/ln(e*((b*x+a)/(d*x+c))**n),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)/(b*x+a)^3/log(e*((b*x+a)/(d*x+c))^n),x, algorithm="giac")

[Out]

integrate((d*x + c)/((b*x + a)^3*log(((b*x + a)/(d*x + c))^n*e)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {c+d\,x}{\ln \left (e\,{\left (\frac {a+b\,x}{c+d\,x}\right )}^n\right )\,{\left (a+b\,x\right )}^3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c + d*x)/(log(e*((a + b*x)/(c + d*x))^n)*(a + b*x)^3),x)

[Out]

int((c + d*x)/(log(e*((a + b*x)/(c + d*x))^n)*(a + b*x)^3), x)

________________________________________________________________________________________